#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<math.h>
int main()
{
	int a = 0;
	int b = 0;
	int c = 0;
	double p = 0;
	double s = 0;
	double l = 0;
	scanf("%d %d %d", &a, &b, &c);
	p = (a + b + c) / 2.0;
	l = a + b + c;
	s = sqrt(p * (p - a) * (p - b) * (p - c));
	printf("circumference=%.2lf area=%.2lf", l,s);
	return 0;
}